<?php
header("content-type:text/html;charset=utf-8");
require_once 'shujvku.php';
$conn;

$username = $_POST['username'];
$password = md5(password);



$sql ="
select *
from u_message
where username='$username'
    and password='$password';
limit 1;
    ";

    //echo $sql;
    //die;

    
    $result = $conn->query($sql);
    if($result->num_rows>0){
        echo "正确！";
    }else{
        echo "用户名或密码错误！";
    }
    //header("location:zcbg.php");
    
    